package org.edu.service.impl;


import org.edu.bean.Taxidentification;
import org.edu.common.BaseDao;
import org.edu.service.TaxidentificationService;
import org.springframework.stereotype.Service;

@Service
public class TaxidentificationServiceImpl extends BaseDao<Taxidentification> implements TaxidentificationService {
	public Taxidentification queryByIdNumber(String idnumber) {
		return (Taxidentification) getHibernateTemplate().find("from Taxidentification o where o.tll_idnumber=?",idnumber).get(0);
	}
}
